import type { IUserInfo } from '@/interface/user';
import request from '@/utils/request';

export const userRegister = (data: IUserInfo) => {
  return request({
    method: 'post',
    url: '/register/',
    data,
  });
};
